

#ifndef __CAMERA
#  define __CAMERA

#  include "vector.h"

typedef struct vm_camera {

  vm_vector location;
  vm_vector look;

  unsigned int x_len;
  unsigned int y_len;

} vm_camera;


void vm_set_cam_loc(vm_camera *, vm_vector);
void vm_set_cam_look(vm_camera *, vm_vector);
void vm_set_cam_size(vm_camera *, unsigned int, unsigned int);

vm_camera *vm_make_camera();
void vm_free_cam(vm_camera *);

#endif
